package com.wanxi.test;
//二维数组，遍历所有元素
public class RunTwoArray {
    public static void main(String[] args) {
        int[][] array = {{4, 5, 6, 7}, {114, 55, 33, 74, 52}, {11, 2, 54, 14}, {12, 36, 10}};
        int length = array.length;

        for (int i = 0; i < length; i++) {

            for (int j = 0; j < array[i].length; j++) {

                System.out.print(array[i][j] + " ");

            }
            System.out.println();

        }

    }

}
